package com.smart.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import com.smart.common.annotation.Excel;
import lombok.Data;
import lombok.Builder;
import com.smart.common.core.domain.BaseEntity;

import lombok.*;
import org.springframework.data.annotation.Id;

/**
 * 气体记录对象 gas_record
 *
 * @author smart
 * @date 2025-09-18
 */
@Data
@Builder
@TableName("gas_record")
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class GasRecord extends BaseEntity{
private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Schema(description ="主键")
    @TableField(value = "id",exist = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**垃圾站id*/
    @Schema(description ="垃圾站id")
    @TableField(value = "bucket_id",exist = true)
    private Integer bucketId;

    /** 温度值 */
    @Excel(name = "温度值")
    @Schema(description ="温度值")
    @TableField(value = "temperature_value",exist = true)
    private String temperatureValue;

    /** 温度单位 */
    @Excel(name = "温度单位")
    @Schema(description ="温度单位")
    @TableField(value = "temperature_unit",exist = true)
    private String temperatureUnit;

    /** 湿度值 */
    @Excel(name = "湿度值")
    @Schema(description ="湿度值")
    @TableField(value = "humidity_value",exist = true)
    private String humidityValue;

    /** 湿度单位 */
    @Excel(name = "湿度单位")
    @Schema(description ="湿度单位")
    @TableField(value = "humidity_unit",exist = true)
    private String humidityUnit;

    /** 硫化氢值 */
    @Excel(name = "硫化氢值")
    @Schema(description ="硫化氢值")
    @TableField(value = "sulfur_h_value",exist = true)
    private String sulfurHValue;

    /** 硫化氢单位 */
    @Excel(name = "硫化氢单位")
    @Schema(description ="硫化氢单位")
    @TableField(value = "sulfur_h_unit",exist = true)
    private String sulfurHUnit;

    /** 烟雾值 */
    @Excel(name = "烟雾值")
    @Schema(description ="烟雾值")
    @TableField(value = "smoke_value",exist = true)
    private String smokeValue;

    /** 烟雾单位 */
    @Excel(name = "烟雾单位")
    @Schema(description ="烟雾单位")
    @TableField(value = "smoke_unit",exist = true)
    private String smokeUnit;

}
